package com.daqian.chance.lbs.dto;

import lombok.Data;

/**
 * 腾讯地图api结果对象
 * 示例结果：
 * {"status":0,"message":"query ok","count":10,"data":[{"id":"2957741613884725948","title":"海淀西大街25号楼-西门","address":"北京市海淀区苏州街","category":"室内及附属设施:通行设施类:门/出入口","type":0,"location":{"lat":39.984564899,"lng":116.30598845},"adcode":110108,"province":"北京市","city":"北京市","district":"海淀区"},{"id":"4770116788129809882","title":"海淀西大街39号-2号楼","address":"北京市海淀区","category":"房产小区:房产小区附属","type":0,"location":{"lat":39.983648641,"lng":116.306664637},"adcode":110108,"province":"北京市","city":"北京市","district":"海淀区"}]}
 */
@Data
public class TencentSuggestionResult {
    /**
     * 标题
     */
    private String title;
    /**
     * 经纬度
     */
    private LocationDTO location;
    /**
     * 地址描述
     */
    private String address;
    /**
     * 示例：室内及附属设施:通行设施类:门/出入口
     */
    private String category;

    private Integer type;
    /**
     * 省
     */
    private String province;
    /**
     * 市
     */
    private String city;
    /**
     * 区县
     */
    private String district;

    /**
     * 行政区划代码
     */
    private Integer adcode;

}
